Circuits and methods for current sensing

ABSTRACT

A circuit includes a first resistor, a second resistor, a voltage follower and a current mirror. The first resistor converts a current flowing through the first resistor to a voltage drop between positive and negative sides of the first resistor. The second resistor is coupled to the negative side of the first resistor. The voltage follower is coupled to the positive side of the first resistor via a non-inverting terminal, and coupled to the negative side of the first resistor through the second resistor via an inverting terminal to cause a voltage at the inverting terminal to follow a voltage at the non-inverting terminal. The current mirror is coupled to the voltage follower to provide a sensing current proportional to the current flowing through the first resistor.

RELATED APPLICATION

This application is a continuation of the co-pending U.S. application Ser. No. 12/406,269, titled “Circuits and Methods for Current Sensing,” filed Mar. 18, 2009, which itself claims priority to U.S. Provisional Application No. 61/072,617, filed Apr. 1, 2008, all which is hereby incorporated by reference.

BACKGROUND

Current sensing circuits are included in electric circuits for detecting current conditions. For example, current sensing circuits implemented in DC/DC converters sense a load current such that the load current can be controlled. Generally, DC/DC converters utilize an internal resistive element (e.g., an internal resistor or inductor direct current resistance (DCR)) to sense the load current. However, this approach may be inadequate for highly accurate applications since the internal resistive element is process-dependent and meanwhile suffers from a thermal coefficient different with discrete resistive elements in external circuits. In other circumstances, regular voltage amplifiers are utilized in current sensing circuits to enlarge the voltage of the internal resistive element and convert the enlarged voltage into a current for subsequent signal processing. However, regular voltage amplifiers tend to impose stability concerns on current sensing.

SUMMARY

A circuit includes a first resistor, a second resistor, a voltage follower and a current mirror. The first resistor converts a current flowing through the first resistor to a voltage drop between positive and negative sides of the first resistor. The second resistor is coupled to the negative side of the first resistor. The voltage follower is coupled to the positive side of the first resistor via a non-inverting terminal, and coupled to the negative side of the first resistor through the second resistor via an inverting terminal to cause a voltage at the inverting terminal to follow a voltage at the non-inverting terminal. The current mirror is coupled to the voltage follower to provide a sensing current proportional to the current flowing through the first resistor

BRIEF DESCRIPTION OF THE DRAWINGS

Advantages of the present invention will be apparent from the following detailed description of exemplary embodiments thereof, which description should be considered in conjunction with the accompanying drawings, in which:

FIG. 1 is a schematic diagram of a current sensing circuit according to one embodiment of the present invention.

FIG. 2 is schematic diagram of an over current protection (OCP) circuit according to one embodiment of the present invention.

FIG. 3 is a schematic diagram of a load line control circuit according to one embodiment of the present invention.

FIG. 4 a schematic diagram of a current monitor circuit according to one embodiment of the present invention.

FIG. 5 is a flow chart of a method for current sensing according to one embodiment of the present invention.

DETAILED DESCRIPTION

Reference will now be made in detail to embodiments of the present invention. While the invention will be described in conjunction with the embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims.

FIG. 1 illustrates a schematic diagram of a current sensing circuit 100 according to one embodiment of the present invention. The current sensing circuit 100 includes a current mirror 101, an amplifier 103, a transistor 105, an external resistor 107, and a sense resistor 109, in one embodiment. The current sensing circuit 100 is used to sense the current flowing through an electronic component. For example, the electronic component can be an inductor 111 in a DC/DC converter.

To sense the inductor current, the sense resistor 109 is coupled in series with the inductor 111 at the left side of a capacitor 115. As the inductor current flows through the sense resistor 109, a sensing voltage Vsense equal to I_(L)*Rsense is produced across the sense resistor 109, where I_(L) is the inductor current and Rsense is the resistance of the sense resistor 109. In other words, a voltage drop Vsense equal to I_(L)*Rsense is produced between positive and negative sides of the sense resistor 109. Furthermore, the positive side of the sense resistor 109 is coupled to the non-inverting terminal of the amplifier 103, in one embodiment. The negative side of the sense resistor 109 is coupled to the inverting terminal of the amplifier 103 through the external resistor 107, in one embodiment.

The output terminal of the amplifier 103 is coupled to the gate of the transistor 105. The drain of the transistor 105 is coupled to the current mirror 101, and the source of the transistor 105 is coupled to the inverting terminal of the amplifier 103. As such, the transistor 105 is used as a negative feedback circuit for the amplifier 103, and the amplifier 103 and the transistor 105 constitute a voltage follower 130. In other words, the voltage at the inverting terminal of the amplifier 103 is forced to be equal to the voltage at the non-inverting terminal of the amplifier 103 by the negative feedback circuit. As such, the voltage drop applied on the external resistor 107 is also substantially equal to Vsense. Therefore, a current substantially equal to Vsense/Rg is formed to flow from the negative feedback circuit to the external resistor 107, where Rg is the resistance of the external resistor 107. As such, the current flowing through the transistor 105 is also substantially equal to Vsense/Rg. The current flowing through the transistor 105 is further duplicated by the current mirror 101 and output on an output line 113 as a sensing current Isense, in one embodiment. Accordingly, the sensing current Isense can be given by Isense=Vsense/Rg=I _(L) ×Rsense/Rg.  (1)

In the example of FIG. 1, the sense resistor 109 is coupled between the inductor 111 and the capacitor 115. Alternatively, the sense resistor 109 can be coupled in series with the inductor 111 at the right side of the capacitor 115. In this instance, a load current I_(load), e.g., which represents a current flowing through a load of the DC/DC converter is equal to the inductor current I_(L) plus Isense. Given by Rsense/Rg>>1, practical implementation of Isense can be negligible. Thus, I_(load) is approximately equal to I_(L). Accordingly, the sensing current Isense can be given by Isense=Vsense/Rg=I _(load) ×Rsense/Rg.  (2)

In practical implementation, the current mirror 101, the amplifier 103 and the transistor 105 can be integrated together as a sense amplifier 120. The sense amplifier 120 can interface with the external resistor 107 and the sense resistor 109 respectively via a CSP pin and a CSN pin. In other words, the voltage follower 130, which includes the amplifier 103 and the transistor 105, is coupled to the CSP pin and the CSN pin via the non-inverting and inverting terminals of the voltage follower 130 (i.e., the non-inverting and inverting terminals of the amplifier 103) respectively, as shown in FIG. 1. As such, a gain of the sense amplifier 120 can be determined by external components (the external resistor 107 and the sense resistor 109). Due to the configurability and stability of the external resistor 107 and the sense resistor 109, the gain of the sense amplifier 120 is user adjustable and relatively time stable, in one embodiment. In one embodiment, because both the external resistor 107 and the sense resistor 109 are placed externally, accuracy issue caused by the different thermal coefficient of internal resistive elements can be resolved. In one embodiment, the external resistor 107 and/or the sense resistor 109 can be temperature-dependent (thermistors) such that the thermal drift of current sensing element (Inductor DCR sensing) within the DC/DC converter can be compensated to maintain the stability of the sensing current Isense.

Advantageously, besides the sensing current Isense on the output line 113, additional sensing current outputs can be obtained from the current mirror 101. These sensing current outputs can be used in a variety of applications, such as over current protection, load line control and current monitor.

FIG. 2 illustrates a schematic diagram of an over current protection (OCP) circuit 200 according to one embodiment of the present invention. The OCP circuit 200 includes a comparator 201 and an OCP resistor 203. In one embodiment, the OCP circuit 200 can be used in a DC/DC converter. The OCP resistor 203 is coupled between the non-inverting terminal of the comparator 201 and ground.

In operation, the sensing current Isense flows through the OCP resistor 203. Accordingly, a voltage Vocp equal to Isense*Rocp is produced across the OCP resistor 203, where Rocp is a resistance of the OCP resistor 203. Furthermore, a reference voltage Vref with a substantially constant voltage level is provided to the inverting terminal of the comparator 201. In one embodiment, the reference voltage Vref can be 400 mv. The comparator 201 detects whether an over current condition occurs by comparing the voltage Vocp with the reference voltage Vref.

In one embodiment, the over current condition occurs if the voltage Vocp reaches the reference voltage Vref, that is Isense×Rocp=Vref.  (3) Substituting equation (2) to equation (3), a current limit I_(LIM) of the load current I_(load) which incurs the over current condition can be given by

$\begin{matrix} {I_{{LI}\; M} = {\frac{{Vref} \times {Rg}}{{Rocp} \times {Rsense}}.}} & (4) \end{matrix}$ The comparator 201 can output a signal OCP indicative of the over current condition if the load current I_(load) reaches the current limit I_(LIM). According to equation (4), the current limit I_(LIM) is determined by the external components Vref, Rocp, Rg and Rsense. Due to the configurability of these external components, the current limit I_(LIM) can be set or adjust to be compliant with various applications.

FIG. 3 illustrates a schematic diagram of a load line control circuit 300 according to one embodiment of the present invention. The load line control circuit 300 includes a remote sense amplifier RSA 301 and an external resistor 303. In one embodiment, the load line control circuit 300 can be used in an electronic circuit to achieve relatively stable and accurate output impedance.

In one embodiment, the electronic circuit can be a DC/DC converter. In the example of FIG. 2, lines RFB+ and RFB− are coupled to the electronic circuit using the Kelvin connection to receive a feedback signal which represents a load voltage of the electrical circuit. The line RFB+ is further coupled to the non-inverting terminal of the remote sense amplifier RSA 301 through the external resistor 303. The line RFB− is coupled to the inverting terminal of the remote sense amplifier RSA 301. The sensing current Isense indicative of the load current of the electrical circuit is injected to the load line control circuit 300 via a RSP pin. In one embodiment, the remote sense amplifier RSA 301 can be integrated into an IC and interfaces with external components via the RSP pin and RSN pin. The output of the remote sense amplifier RSA 301 can be compared to a reference signal, e.g., to control power delivered to the load. The power delivered to the load can be limited or adjusted continuously or in steps.

In operation, a substantially constant voltage difference between pins RSP and RSN can be achieved by a voltage positioning function inherent with the load line control circuit 300. In this instance, if the load current changes, the voltage variation of the feedback signal (the load voltage) can be offset by the voltage variation across the external resistor 303. Accordingly, the output resistance of the DC/DC converter can be given by

$\begin{matrix} {{R_{loadline} = {\frac{\Delta\; V_{load}}{\Delta\; I_{load}} = {R_{LL} \times {{Rsense}/{Rg}}}}},} & (5) \end{matrix}$ where R_(loadline) is the output resistance and R_(LL) is the resistance of the external resistor 303. According to equation (5), the output resistance R_(loadline) is determined by the external resistors, resulting in a relatively accurate and stable value of R_(loadline). Furthermore, if the load current increases, the sensing current Isense increases according to equation (2) and the voltage across the external resistor 303 will increase with the increased sensing current Isense. Accordingly, the output of the remote sense amplifier RSA 301 can decrease the load voltage to maintain the constant voltage difference between the pins RSP and RSN. As a result, power delivered to the load of the electronic circuit is controlled. Furthermore, the load can consume less power compared with the situation where the load current is increased while the load voltage keeps the same. Therefore, the power efficiency of the electrical circuit can be enhanced.

FIG. 4 illustrates a schematic diagram of a current monitor circuit 400 according to one embodiment of the present invention. The current monitor circuit 400 includes an external resistor 401 and an external resistor 403 coupled in series between a reference voltage source Vref1 and ground. In one embodiment, the current monitor circuit 400 is used in a DC/DC converter to provide a voltage V_(IMON) indicative of the load current at the IMON node. The voltage V_(IMON) can be given by

$\begin{matrix} {{V_{IMON} = {{{Vref}\; 1 \times \frac{Rb}{{Ra} + {Rb}}} + {I_{load} \times \frac{Rsense}{Rg} \times \frac{{RaR}\; b}{{Ra} + {Rb}}}}},} & \left. 6 \right) \end{matrix}$ where Ra is a resistance of the external resistor 401 and Rb is a resistance of the external resistor 403.

FIG. 5 illustrates a flow chart 500 of a method for current sensing according to one embodiment of the present invention. Although specific steps are disclosed in FIG. 5, such steps are exemplary. That is, the present invention is well suited to performing various other steps or variations of the steps recited in FIG. 5. FIG. 5 is described in combination with FIG. 1.

In block 501, a current flowing through a first resistor is converted to a voltage drop between positive and negative sides of the first resistor. In one embodiment, the inductor current I_(L) flowing through the sense resistor 109 is converted to the voltage drop Vsense between positive and negative sides of the sense resistor 109.

In block 503, the voltage at the positive side of the first resistor is applied to a first pin of a sense amplifier. In one embodiment, the voltage at the positive side of the sense resistor 109 is applied to the CSP pin of the sense amplifier 120, which includes the amplifier 103, the transistor 105 and the current mirror 101.

In block 505, the voltage at the negative side of the first resistor is applied to a second pin of the sense amplifier through a second resistor. In one embodiment, the voltage at the negative side of the sense resistor 109 is applied to the CSN pin of the sense amplifier 120 through the external resistor 107.

In block 507, the sense amplifier employs a negative feedback to cause the voltage at the second pin to follow the voltage at the first pin. In one embodiment, the transistor 105 is coupled to the amplifier 103 to form a negative feedback circuit, such that the amplifier 103 becomes a voltage follower to cause the voltage at the CSN pin to follow the voltage at the CSP pin.

In block 509, a sensing current proportional to the current flowing through the first resistor is generated by the sense amplifier. In one embodiment, the current mirror 101 included in the sense amplifier generates the current equal to I_(L)*Rsense/Rg to flow from the transistor 105 to the external resistor 107. Due to the inherent duplication function of the current mirror 101, the sensing current flowing through the output line 113 of the current mirror 101 is also equal to I_(L)*Rsense/Rg, which is proportional to the current I_(L) flowing through the sense resistor 109.

The terms and expressions which have been employed herein are used as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding any equivalents of the features shown and described (or portions thereof), and it is recognized that various modifications are possible within the scope of the claims. Other modifications, variations, and alternatives are also possible. Accordingly, the claims are intended to cover all such equivalents. 

What is claimed is:
 1. A circuit comprising: a first resistor that is operable for converting a current flowing through said first resistor to a voltage drop between positive and negative side of said first resistor; a second resistor coupled to said negative side of said first resistor; a voltage follower coupled to said positive side of said first resistor via a non-inverting terminal and coupled to said negative side of said first resistor through said second resistor via an inverting terminal respectively and operable for causing a voltage at said inverting terminal to follow a voltage at said non-inverting terminal; and a current mirror coupled to said voltage follower and operable for providing a sensing current proportional to said current flowing through said first resistor.
 2. The circuit of claim 1, wherein said voltage follower comprises: an amplifier comprising said inverting terminal, said non-inverting terminal and a output terminal; and a transistor coupled between said current mirror and said inverting terminal, wherein a gate of said transistor is coupled to said output terminal of said amplifier, and wherein a current flowing through said transistor is proportional to said current flowing through said first resistor.
 3. The circuit of claim 1, wherein a ratio between said sensing current and said current flowing through said first resistor is determined by resistances of said first and second resistors.
 4. The circuit of claim 1, further comprising: a third resistor that is operable for converting said sensing current to an input voltage; and a comparator, coupled to said third resistor, that is operable for generating a signal indicative of an over current condition by comparing said input voltage with a reference voltage.
 5. The circuit of claim 4, wherein a current limit incurring said over current condition is determined by said reference voltage and resistances of said first, second and third resistors.
 6. The circuit of claim 1, further comprising: a third resistor that is operable for converting said sensing current to a voltage across said third resistor, wherein said sensing current indicates a load current of an electronic circuit; and a remote sense amplifier, coupled to said electronic circuit through said third resistor, that is operable for stabilizing an output impedance of said electronic circuit based on said voltage across said third resistor.
 7. The circuit of claim 6, wherein a variation in said voltage across said third resistor offsets a variation in a load voltage of said electronic circuit to stabilize said output impedance.
 8. The circuit of claim 6, wherein said output impedance is determined by resistances of said first, second and third resistors.
 9. The circuit of claim 6, wherein said electronic circuit comprises a DC/DC converter.
 10. The circuit of claim 6, wherein a load voltage of said electronic circuit decreases in accordance with an increase in said voltage across said third resistor if said load current increases.
 11. The circuit of claim 1, further comprising: third and fourth resistors coupled in series between a reference voltage source and ground; and a monitor node, coupled to a conjunction node of said third and fourth resistors, that is operable for receiving said sensing current and for providing a voltage at said monitor node indicative of a current at said monitor node.
 12. A system comprising: a DC/DC converter that is operable for providing a load current to a load; a first resistor, coupled to said DC/DC converter, that is operable for sensing said load current; a second resistor coupled to said first resistor; a voltage follower coupled to a positive side of said first resistor via a non-inverting terminal and coupled to a negative side of said first resistor through said second resistor via an inverting terminal and operable for causing a voltage at said inverting terminal to follow a voltage at said non-inverting terminal; and a current mirror, coupled to said voltage follower, that is operable for providing a sensing current proportional to a current flowing through said first resistor.
 13. The system of claim 12, further comprising: an over current protection circuit that is operable for receiving said sensing current and for protecting said DC/DC converter from an over current condition based on said sensing current.
 14. The system of claim 12, further comprising: an output line control circuit that is operable for receiving said sensing current and for stabilizing an output impedance of said DC/DC converter based on said sensing current.
 15. The system of claim 12, further comprising: a current monitor circuit that is operable for receiving said sensing current and for monitoring a current at a monitor node of said DC/DC converter based on said sensing current. 